GetUDNumber

SoftwareShield ClientProtector COM Component > ClientProtector (SSCProtector) Reference > GetUDNumber

## GetUDNumber

The GetUDNumber function retrieves one of the user defined numbers stored in the license based on an index.

###### Syntax

HRESULT GetUDNumber ( long Index, long * UDNumber );

###### Parameters

Index

[IN] Numeric index (0 to 4 inclusive) corresponding the user defined number field stored in the license which you wish to retrieve.

UDNumber

[OUT] This is a (pointer to a) 32-bit numeric value which will return with the user defined field value corresponding to the index parameter.

###### Remarks

The GetUDNumber function retrieves one of the user defined numbers stored in the license based on an index.

If the index passed is not in range (0 to 4 inclusive) the result is undefined.

###### Return Value

As with all COM function calls they return an HRESULT. HRESULT is a data type that is a 32-bit error or warning code. Check your compilers documentation for information on interpreting the HRESULT value.

###### Function Information

Exposed By Interface: | "ISSCProtector"
Exposed In COM Server Binaries: | "SSCProt.dll" and "SSCProtD.dll"